
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 店铺与商品关联关系实体
 *
 * @author
 * @date 2019-07-04 09:46:59
 */
@Data
@TableName("MALL_SHOPS_GOODS")
public class MallShopsGoodsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String id;
    /**
     * 店铺ID
     */
    private String shopsId;
    /**
     * 商品分类ID
     */
    private String shopsCategoryId;
    /**
     * 商品ID
     */
    private String goodsId;
    /**
     * 零售价格
     */
    private BigDecimal retailPrice;
    /**
     * 店铺商品库存
     */
    private Integer goodsNumber;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 店铺
     */
    @TableField(exist = false)
    private String shopsName;
    /**
     * 商品分类
     */
    @TableField(exist = false)
    private String categoryName;
    /**
     * 商品
     */
    @TableField(exist = false)
    private String goodsName;
    /**
     * 商品图片
     */
    @TableField(exist = false)
    private String listPicUrl;
    /**
     * 简明介绍
     */
    @TableField(exist = false)
    private String goodsBrief;
    /**
     * 行内积分兑换
     */
    @TableField(exist = false)
    private String branchIntegral;
    /**
     * 客户积分兑换
     */
    @TableField(exist = false)
    private String customerIntegral;
    /**
     * 分类id
     */
    @TableField(exist = false)
    private String categoryId;
    /**
     * 分类id
     */
    @TableField(exist = false)
    private String orgGoodsNumber;
    /**
     * 商品类型，0实物，1电子卡券
     */
    @TableField(exist = false)
    private String goodsType;

}
